package com.ebc.eservice.mapper;

import com.ebc.eservice.pojo.EbcRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ebc.eservice.pojo.EbcUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author joey
 * @since 2022-09-17
 */
public interface RoleMapper extends BaseMapper<EbcRole> {


    //查询用户权限
    List<EbcRole> getUserRolesByUid(Integer id);


}
